<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <title>最新{$obj.type_title}-推荐{$obj.type_title}-第{$param.page}页 - {$maccms.site_name}</title>
    <meta name="keywords" content="{$obj.type_key}" />
    <meta name="description" content="{$obj.type_des}" />
    {include file="public/include"}
</head>

<body class="page">
    {include file="public/header"}
    <link rel="stylesheet" href="/template/mxone/mxstatic/css/swiper.min.css" type="text/css">
    <link rel="stylesheet" href="/template/mxone/mxstatic/css/hdp.css" type="text/css">
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <style>
                .gifpic {
                    display: none
                }
            </style>
            {maccms:vod num="10" level="'.$param['id'].'" order="desc" by="time"}
            <div class="swiper-slide">
                <div class=" gifpic"
                    style="background: url({$vo.vod_pic_slide|mac_url_img}) center no-repeat;  background-size: cover;padding-top: 30%;border-radius: 5px;position: relative;">
                    <div class="focus_leftshode focusleftshode"></div>
                    <div class="focus_rightshode focusrightshode"></div>
                    <div class="focus_topshode focustopshode"></div>
                    <div class="focus_bottomshode focusbottomshode"></div>
                    <div class="txt-info">
                        <p class="gate"><span>{$vo.vod_class}</span></p>
                        <p class="name">{$vo.vod_name}</p>
                        <p class="info">{$vo.vod_remarks} </p>
                    </div>
                </div>
                <a class="dymrslide banner jpgpic" data-name="{$vo.vod_name}" data-fname="{$vo.vod_remarks}"
                    href="{:mac_url_vod_detail($vo)}"
                    style="background: url({$vo.vod_pic_slide|mac_url_img}) center no-repeat;  background-size: cover;">
                    <div class="focus_leftshode focusleftshode"></div>
                    <div class="focus_rightshode focusrightshode"></div>
                    <div class="focus_topshode focustopshode"></div>
                    <div class="focus_bottomshode focusbottomshode"></div>
                    <div class="txt-info">
                        <p class="gate"><span>{$vo.vod_class}</span></p>
                        <p class="name">{$vo.vod_name}</p>
                        <p class="info">{$vo.vod_actor}</p><!--左边顺序主演-备注-资源类别--->
                    </div>
                </a>
            </div>
            {/maccms:vod}
            <!--分类页幻灯默认取推荐9的分类图片,若需要额外推荐,选择对于的分类推荐8-->




        </div>
        <div class="swiper-pagination"></div>
    </div>

    <!-- 轮播图 -->
    <main id="main" class="wrapper">
        <div class="content">
            <div class="page-heading">
                <h1 class="page-title">{$obj.type_name}</h1>
                <div class="list-header scroll-box">
                    <div class="block-box-items scroll-content">
                        {maccms:type parent="'.$param['id'].'" order="asc" by="sort" id="vo" key="key2"}
                        <div class="block-box-item ">
                            <a class="block-box-content" href="{:mac_url_type($vo,[],'show')}" title="{$vo.type_name}"><strong
                                    class="title">{$vo.type_name}</strong></a>
                            <div class="block-box-bg">{$vo.type_name}</div>
                        </div>
                        {/maccms:type}
                        
                        <div class="space-line-bold"></div>
                        <div class="block-box-item">
                            <a class="block-box-content" href="{:mac_url_type($obj,[],'show')}"
                                title="查看全部影片"><strong class="title">{$obj.type_name}片库</strong>
                            </a>
                            <div class="block-box-bg"><i class="icon-cate-dy"></i></div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 分类页分类 -->
            <style>
                .site_subnav {
                    z-index: 100;
                    width: 100%;
                }

                .site_subnav .site_subnav_inner {
                    position: relative;
                    height: 40px;
                    margin: 0 auto;
                    padding-left: 10px;
                    letter-spacing: -3px;
                    white-space: nowrap
                }

                .site_subnav .nav_link {
                    display: inline-block;
                    margin: 0 30px 0 0;
                    padding: 0;
                    font-size: 16px;
                    letter-spacing: normal;
                    line-height: 40px;
                    vertical-align: top
                }

                .site_subnav .current {
                    position: relative;
                    color: #ff5c38;
                    font-weight: 700
                }

                .site_subnav .nav_link_more {
                    position: relative;
                    margin-right: 30px;
                    margin-left: 20px;
                    white-space: nowrap
                }

                .site_subnav .svg_vstore {
                    position: absolute;
                    top: 11px;
                    left: -20px;
                    width: 17px;
                    height: 17px
                }

                .site_subnav .svg_icon_expand {
                    width: 13px;
                    height: 8px;
                    vertical-align: 1px
                }

                .site_subnav .open .svg_path_down,
                .site_subnav .svg_path_up {
                    display: none
                }

                .site_subnav .open .svg_path_up {
                    display: block
                }

                @media (min-width: 899px) {
                    .site_subnav {
                        margin: 20px 0;
                        overflow: hidden;
                    }
                }
            </style>

            <div class="site_subnav scroll-box">
                <div class="site_subnav_inner scroll-content">
                    <a href="{:mac_url_type($obj)}" class="nav_link nav_link_more">
                        <svg width="17" height="17" class="svg_vstore">
                            <path
                                d="M2 2v10h10V2H2zm0-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z"
                                fill="#FF5C38"></path>
                            <path d="M5 15h10V3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2h2z" fill="#FF5C38">
                            </path>
                            <path
                                d="M6.007 4.138l3.726 2.26c.286.238.353.7.148 1.032a.698.698 0 0 1-.148.172l-3.726 2.26c-.286.238-.684.16-.888-.172C5.04 9.565 5 9.154 5 9V5c0-.408.285-1 .637-1a.58.58 0 0 1 .37.138z"
                                fill="#FFB821"></path>
                        </svg>{$obj.type_name}片库</a>

                        {empty name="$obj.type_extend.class"}
                        {maccms:foreach name=":explode(',',$obj.parent.type_extend.class)"}
                        <a href="{:mac_url_type($obj,['class'=>$vo],'show')}" class="nav_link " title="{$vo}">{$vo}</a>
                        {/maccms:foreach}
                        {else /}
                        {maccms:foreach name=":explode(',',$obj.type_extend.class)"}
                        <a href="{:mac_url_type($obj,['class'=>$vo],'show')}" class="nav_link " title="{$vo}">{$vo}</a>
                        {/maccms:foreach}
                        {/empty}
                    {empty name="$obj.type_extend.area"}
                    {maccms:foreach name=":explode(',',$obj.parent.type_extend.area)"}
                    <a href="{:mac_url_type($obj,['class'=>$vo],'show')}" class="nav_link "
                        title="{$vo}">{$vo}</a>
                    {/maccms:foreach}
                    {else /}
                    {maccms:foreach name=":explode(',',$obj.type_extend.area)"}
                    <a href="{:mac_url_type($obj,['area'=>$vo],'show')}" class="nav_link " title="{$vo}">{$vo}</a>
                    {/maccms:foreach}
                    {/empty}
                    {empty name="$obj.type_extend.year"}
                    {maccms:foreach name=":explode(',',$obj.parent.type_extend.year)"}
                    <a href="{:mac_url_type($obj,['class'=>$vo],'show')}" class="nav_link " title="{$vo}">{$vo}</a>
                    {/maccms:foreach}
                    {else /}
                    {maccms:foreach name=":explode(',',$obj.type_extend.year)"}
                    <a href="{:mac_url_type($obj,['year'=>$vo],'show')}" class="nav_link " title="{$vo}">{$vo}</a>
                    {/maccms:foreach}
                    {/empty}
                </div>
            </div>
            <!-- 分类页分类2 -->
            <div class="module-blocklist module-player-list"
                style="padding: 35px;border-radius: 10px;margin-bottom: 20px;">
                <h3 style="text-align: center;">广告位05</h3>
            </div> <!-- 全局广告位 -->
            <div class="module module-bg">
                <div class="module-heading">
                    <h2 class="module-title">热播{$obj.type_name}</h2>
                </div>
                <div class="module-list module-lines-list">
                    <div class="module-items">
                        {maccms:vod num="8" type="current" order="desc" by="hits_month"}
                        {include file="public/video"}
                        {/maccms:vod}
                    </div>
                </div>
            </div>
            <!-- 分类页热播 -->
            {maccms:type parent="current" order="asc" by="sort"}
            <div class="module module-bg">
                <div class="module-heading">
                    <h2 class="module-title"><a href="{:mac_url_type($vo)}" title="{$vo.type_name}">{$vo.type_name}</a></h2>
                    <a class="more" href="{:mac_url_type($vo)}" title="更多2">更多{$vo.type_name}<i
                            class="icon-arrow-right-o"></i></a>
                </div>
                <div class="module-list module-line-list">
                    <div class="module-items">
                        {maccms:vod num="8" type="'.$vo['type_id'].'" order="desc" by="time"}
                        {include file="public/video"}
                        {/maccms:vod}
                    </div>
                </div>
            </div>
            {/maccms:type}
            <!-- 有二级分类 -->


        </div>

        <div class="module-footer module-type">
            <a href="{:mac_url_type($obj,[],'show')}" class="load-all" title="{$obj.type_name}">全部{$obj.type_name}<i
                    class="icon-arrow-right-o"></i></a>
        </div>
    </main>
    {include file="public/foot"}
</body>

</html>